import { dataCompanyAxios } from '@/utils/request.ts'

// 供需关系
export const postCompanyInfoDetailSupply = (data: any): Promise<any> => {
  return dataCompanyAxios({
    url: '/companyInfo/detail/supply',
    method: 'post',
    data
  })
}

// 工商信息
export const getCompanyInfoDetailQueryBusinessInformation = (params: any): Promise<any> => {
  return dataCompanyAxios({
    url: '/companyInfo/detail/queryBusinessInformation',
    method: 'get',
    params
  })
}

// 竞争公司
export const postCompanyInfoDetailQueryCompetitor = (data: any): Promise<any> => {
  return dataCompanyAxios({
    url: '/companyInfo/detail/queryCompetitor',
    method: 'post',
    data
  })
}
